package com.Register.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
//@ConfigurationProperties(prefix = "register.elasticsearch")
public class ElasticSearchProperties {
    // es地址,开发环境使用8.138.36.249，线上环境使用8.138.116.183
    private String host="8.138.36.249";
    // es端口
    private String port="9200";
}
